<template>
  <n-config-provider
      :theme="theme"
      :locale="zhCN"
      :date-locale="dateZhCN"
      :preflight-style-disabled="true"
  >
    <slot />
  </n-config-provider>
</template>

<script setup lang="ts">
import { zhCN, dateZhCN } from 'naive-ui'
import { computed } from 'vue'


const theme = computed(() => {
  return 'dark'
})
</script>